package com.example.mychat.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class Users {
    @TableId(type = IdType.INPUT)
    private String username;        //用户名
    private String password;    //密码

    public Users(String name, String password) {
        this.username = name;
        this.password = password;
    }
}
